package com.pattern.strategy.strategypattern;
/*
* 打完怪后的状态
* */
public class hurtState {
    private int code;
    private String data;
    private String msg;

    public hurtState(int code, String data, String msg) {
        this.code = code;
        this.data = data;
        this.msg = msg;
    }

    public String toString(){
        return ("打怪状态：["+ code +"],"+msg+",结果："+data);
    }

}
